import Vue from 'vue'
import Router from 'vue-router'

const vLayout = () => import('@/layout/v-layout.vue')
const c3q1 = () => import('@/pages/c3q1.vue')
const c3q2 = () => import('@/pages/c3q2.vue')
const c3q3 = () => import('@/pages/c3q3.vue')
const c4q1 = () => import('@/pages/c4q1.vue')
const c4q2 = () => import('@/pages/c4q2.vue')
const c4q3 = () => import('@/pages/c4q3.vue')
const c4q4 = () => import('@/pages/c4q4.vue')
const c5q1 = () => import('@/pages/c5q1.vue')
const c6q1 = () => import('@/pages/c6q1.vue')
const c6q2 = () => import('@/pages/c6q2.vue')
const c6q3 = () => import('@/pages/c6q3.vue')
const c6q4 = () => import('@/pages/c6q4.vue')
const c8q1 = () => import('@/pages/c8q1.vue')
const c8q2 = () => import('@/pages/c8q2.vue')

Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            redirect:'/v1/c3q1'
        },
        {
            path: '/v1',
            component: vLayout,
            children:[
                {
                    name: 'c3q1',
                    path: 'c3q1',
                    component: c3q1,
                },
                {
                    name: 'c3q2',
                    path: 'c3q2',
                    component: c3q2,
                },
                {
                    name: 'c3q3',
                    path: 'c3q3',
                    component: c3q3,
                },
                {
                    name: 'c4q1',
                    path: 'c4q1',
                    component: c4q1,
                },
                {
                    name: 'c4q2',
                    path: 'c4q2',
                    component: c4q2,
                },
                {
                    name: 'c4q3',
                    path: 'c4q3',
                    component: c4q3,
                },
                {
                    name: 'c4q4',
                    path: 'c4q4',
                    component: c4q4,
                },
                {
                    name: 'c5q1',
                    path: 'c5q1',
                    component: c5q1,
                },
                {
                    name: 'c6q1',
                    path: 'c6q1',
                    component: c6q1,
                },
                {
                    name: 'c6q2',
                    path: 'c6q2',
                    component: c6q2,
                },
                {
                    name: 'c6q3',
                    path: 'c6q3',
                    component: c6q3,
                },
                {
                    name: 'c6q4',
                    path: 'c6q4',
                    component: c6q4,
                },
                {
                    name: 'c8q1',
                    path: 'c8q1',
                    component: c8q1,
                },
                {
                    name: 'c8q2',
                    path: 'c8q2',
                    component: c8q2,
                },
            ]
        }
    ]
})
